package xin.marcher.module.diplomacy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xin.marcher.module.diplomacy.domain.entity.FrontCategoryDO;
import xin.marcher.module.diplomacy.domain.entity.FrontCategoryRelationDO;

import java.util.List;

/**
 * 前台类目
 */
@Mapper
public interface FrontCategoryMapper extends BaseMapper<FrontCategoryDO> {
    /**
     * 根据前台类目查询对应的商品列表
     *
     * @param frontCategoryIds
     * @return
     */
    List<FrontCategoryRelationDO> queryFrontCategoryList(@Param("frontCategoryIds") List<Long> frontCategoryIds);

}